home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekkan Dennou Club 147
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan).7z
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan) (Track 1).bin
/
docs
/
ippon
/
ver
/
014
/
makefile
< prev
Wrap
Makefile
|
2000-07-07
|
1KB
|
41 lines
# makefile for ippon.x
CC = gcc
CFLAGS = -DDEBUG
#CFLAGS = -O -fomit-frame-pointer -fstrength-reduce -fforce-mem -fforce-addr -fcombine-regs
AS = has
LD = hlk
INC =
LIBS = libc.a libgnu.a libdos.a libiocs.a xsp2lib.o
LZH = ippon011
vpath %.c ./;FuncEnemy/;FuncEffect/;
# .c ファイルはカレント又はここで指定したディレクトリに
%.o: %.c
$(CC) $(CFLAGS) -c $<
all: ippon.x maketbl.x
ippon.x: main.o player.o shot.o enemy.o eshot.o effect.o psearch.o \
zakoa.o zakob.o
$(LD) $^ -o $@ -l $(LIBS)
main.o: main.c main.h player.h shot.h enemy.h eshot.h effect.h psearch.h
player.o: player.c main.h player.h shot.h
shot.o: shot.c main.h player.h shot.h
enemy.o: enemy.c main.h player.h shot.h enemy.h eshot.h effect.h psearch.h
eshot.o: eshot.c main.h player.h eshot.h
effect.o: effect.c main.h effect.h
psearch.o: psearch.c player.h psearch.h
zakoa.o: FuncEnemy/zakoa.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../enemy.h FuncEnemy/../effect.h FuncEnemy/../psearch.h
zakob.o: FuncEnemy/zakob.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../enemy.h FuncEnemy/../effect.h FuncEnemy/../psearch.h
maketbl.x: maketbl.o
$(LD) $^ -o $@ -l $(LIBS)
dist:
LHA a -t ../$(LZH)